<?php

namespace Bundle\ModuleBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Components\DependencyInjection\ContainerBuilder;

class ModuleExtension extends Extension
{
    protected $resources = array(
        'module' => 'module.xml',
    );

    public function dirsLoad($config, \Symfony\Component\DependencyInjection\ContainerBuilder $container)
    {
        
        // @TODO Добавить обработку указанных в конфиге путей
    }

    /**
     * Returns the base path for the XSD files.
     *
     * @return string The XSD base path
     */
    public function getXsdValidationBasePath()
    {
        return __DIR__.'/../Resources/config/schema';
    }

    public function getNamespace()
    {
        return 'http://www.symfony-project.org/schema/dic/zend';
    }

    public function getAlias()
    {
        return 'modules';
    }
}
